//
//  BQCategoryTableViewCell.m
//  BeeQuick
//
//  Created by AaronWei on 2017/7/9.
//  Copyright © 2017年 BecomeRich. All rights reserved.
//

#import "BQCategoryTableViewCell.h"
#import "BQCategorySelectedBackgroundView.h"
#import "UIColor+MLAddition.h"

@implementation BQCategoryTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier {
    
    if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        [self setupUI];
    }
    
    return self;
    
}

- (void)setupUI {
    
    self.backgroundColor = [UIColor ml_colorWithHex:0xEFEFEF];
    
    self.textLabel.font = [UIFont systemFontOfSize:15];
    
    self.textLabel.textColor = [UIColor darkGrayColor];
    
    self.textLabel.highlightedTextColor = [UIColor blackColor];
    
    self.selectedBackgroundView = [BQCategorySelectedBackgroundView new];
    
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
